<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core">

	<p:selectManyCheckbox id="gridQuery" value="#{dettaglioBean.selectedQuery}" layout="grid" columns="4">
		<f:selectItems value="#{dettaglioBean.codeTableQuery.entrySet()}" var="item" itemLabel="#{item.value}" itemValue="#{item.key}" />
		<!-- <f:selectItem itemLabel="Seleziona Tutto" itemValue="allQuery"/>  -->
	</p:selectManyCheckbox>
	
	<p:separator />
	 <p:commandButton id ="salvaButtonQuery" value="Salva" update=":myform:growl" icon="ui-icon-check" action="#{dettaglioBean.aggiornaQuery}" />
	 
</ui:composition>